<div class="block">
<div class="tabContent">

<?php echo validation_errors('<p class="error">', '</p>'); ?>
<?php 
$attributes = array('class' => 'form_inputs adminForm ', 'id' => '');
$hidden = array('id' => $model['id']);
echo form_open_multipart('',$attributes,$hidden) //form_open //form_open_multipart?>
<table class="tableForm" width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
	<tr>
		<td width="120">
			<?php echo form_label(lang('global:title'),'title')?>
		</td>
		<td>
			<?php 
			$data = array('name'=>'title','id'=>'title','value'=> $model['title'],'maxlength'=>50,'class'=>'inputText large');
			echo form_input($data)?>
		</td>
</tr>
<tr>
		<td width="120">
			<?php echo form_label(lang('global:slug'),'slug')?>
		</td>
		<td>
			<?php 
			$data = array('name'=>'slug','id'=>'slug','value'=> $model['slug'],'maxlength'=>50,'class'=>'inputText large');
			echo form_input($data)?>
		</td>
</tr>
<tr>
	<td class="ve-top"><?php echo form_label(lang('shop:cat:parent'),'parent_id')?></td>
	<td><ul class="list-radio tree">{{categories_radio}}</ul></td>
</tr>
</tbody>
</table>
{{ theme:partial name="_form_button" }}

<?php echo form_close()?>

<script>
$cu = $('.list-radio li.current');
$cu.parent().parent().find('>input[type="radio"]').attr('checked',true)
$cu.find('input[type="radio"]').hide();
</script>
</div>
</div>